package com.lx.txx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;

@Getter
@Setter
@TableName("txx_comment")
public class TxxCommentEx implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    /**
     * 车辆编号
     */
    @TableField("cid")
    private Integer cid;

    /**
     * 车辆编号
     */
    @TableField("uid")
    private Integer uid;


    /**
     * 备注: 评论内容
     */
    @TableField("content")
    private String content;

    /**
     * 发表时间
     */
    @TableField("time")
    private Timestamp time;


    @TableField(exist = false)
    private String cname;


    @TableField(exist = false)
    private String headimg;


}
